package com.lin.cloud.disk.entity.request;

import com.lin.cloud.disk.common.entity.request.AccountRequestDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 分配/取消分配用户到指定部门
 * @author ljc
 * @date 2021/1/26 19:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AllocationUserToDepartmentRequest extends AccountRequestDTO {


    @ApiModelProperty(value = "部门id", name = "departmentId")
    @NotNull(message = "部门id不能为空")
    private Long departmentId;


    @ApiModelProperty(value = "分配到该部门的用户列表", name = "allocationUserList")
    private List<Long> allocationUserList;

    @ApiModelProperty(value = "取消分配到该部门的用户列表", name = "allocationUserList")
    private List<Long> unAllocationUserList;
}
